package org.summerframework.component.security.role.model.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import org.summerframework.core.base.dto.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * user_role_rel
 * @author
 */
@TableName("user_role_rel")
@Data
@EqualsAndHashCode(callSuper = true)
public class UserRoleRelDO extends BaseDO {
    /**
     * 用户id
     */
    private Long userId;

    /**
     * 角色id
     */
    private Long roleId;

    private String roleName;

    private String roleCode;

    private Integer roleType;

    private Long roleRelId;

    /**
     * 状态  1:正常 0:禁用
     */
    private Integer status;
}
